#ifndef TRANSLATE_H
#define TRANSLATE_H
#include "includes.h"

void    translateWrite(PTTYINFO info, char * command);
int     buildFrame(char charRead, PTTYINFO pinfo);
int     translateSequence(char * sequence, PTTYINFO pinfo);
void    purgeSequence(char *sequence);
int		getData(PTTYINFO pinfo);
bool    crcCheck(PTTYINFO pinfo);
void    packetize(PTTYINFO pinfo);
char    ToggleType(char type);

#endif
